package com.wuze.TCC.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/**
 * 核心注解
 * 分布式事务注解
 * @author wuze
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface TCC {

    String confirm();

    String cancel();

    boolean isInitiator();

}
